package com.qijian.maindata.domain.vo;

import com.qijian.maindata.domain.Bom;
import com.qijian.maindata.domain.Item;
import com.qijian.tool.domain.Storage;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.List;
import java.util.Map;

/**
 * 生产BOM对象
 *
 * @author qijian
 * @date 2021-09-01
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
public class BomVo extends Bom{
    /** 物料名称 */
    @ApiModelProperty(value = "物料")
    private Item item;

    @ApiModelProperty(value = "文件")
    private Storage storage;

    @ApiModelProperty(value = "工艺文件")
    private List<Storage> processFiles;

    @ApiModelProperty(value = "工艺文件")
    private List<Map> craftFiles;

    private Integer processFilesCnt;

    private List<BomDetailVo> bomDetails;

    private String projectManager;

    @ApiModelProperty(value = "ecn变更记录数")
    private Integer ecnCnt;

    private String phonenumber;

    private String finishType;

    private String bomCodeStr;

    private String bomNameStr;

}
